package com.library.mapper;

import com.library.bean.Book;
import org.springframework.stereotype.Repository;
import java.util.ArrayList;


public interface BookMapper {



    public int matchBook(final String searchWord) ;

    public ArrayList<Book> queryBook(final String searchWord);

    public ArrayList<Book> getAllBooks() ;

    public int addBook(final Book book) ;

    public Book getBook(final long bookId) ;

    public int editBook(final Book book) ;

    public int deleteBook(final long bookId) ;
}
